package com.wondertek.service.sdk.iotdh.dto.res.arcConfig;

import com.wondertek.service.sdk.iotdh.dto.req.arcConfig.AlternativeAddresses;
import com.wondertek.service.sdk.iotdh.dto.req.arcConfig.PeriodicTest;
import com.wondertek.service.sdk.iotdh.dto.req.arcConfig.SIA_DC09;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author xxx
 * @Date 2024/8/26 10:06
 */
@Data
public class GetArcConfigRes {
    @Schema(name = "deviceId", description = "设备 ID。它由 1-128 个数字和字母组成。", required = true)
    private String deviceId;

    @Schema(name = "protocolType", description = "协议类型。“SIA_DC09”：DC09协议;“Private”：私有协议。", required = true)
    private String protocolType;

    @Schema(name = "primaryAddressIp", description = "主地址 IP。", required = true)
    private String primaryAddressIp;

    @Schema(name = "primaryAddressPort", description = "主地址端口。", required = true)
    private Integer primaryAddressPort;

    @Schema(name = "alternativeAddresses", description = "备选地址", required = false)
    private List<AlternativeAddresses> alternativeAddresses;

    @Schema(name = "enable",description = "接警中心使能：默认为true")
    private boolean enable;

    @Schema(name = "periodicTest",description = "周期测试")
    private PeriodicTest periodicTest;

    @Schema(name = "SIA_DC09",description = "接警中心")
    private SIA_DC09 SIA_DC09;



}
